extends Card

func init():
	att.cry = 1
	lv = 4
	type = TYPE.MAGIC
	camp = "m_all" 
	name = "增幅协议" 
	dec = "骰出一个六面骰子，根据点数将对目标提升属性。" 
	aiTab = "back" 
	isUsable = false

func _use(card,cell):
	var q = sys.rndRan(1,6);
	card.att.atk += q
	card.att.maxHp += q
		
func useSelIf(card,cell):
	if card != null && card.type == TYPE.CREATURE && card.canSel:
		return true
	return false